package com.sinoma.G2project.config.datasource;

public class DynamicDataSourceHolder {

        private static final ThreadLocal<String> threadLocal = new ThreadLocal<String>();

        public static String getThreadLocal() {
            return threadLocal.get();
        }

        public static void setThreadLocal(String name) {
            threadLocal.set(name);
        }
        public static void clear(){
            threadLocal.remove();
        }


}